package com.shenmazong.servertalkadmin.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shenmazong.pojo.TbClass;
import com.shenmazong.vo.StudentVo;
import com.shenmazong.vo.TbClassVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component(value = "tbClassMapper")
public interface TbClassMapper extends BaseMapper<TbClass> {


    IPage<TbClassVo> classList(Page<StudentVo> page, @Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}
